<html>
<head>
    <title>ajaxWindow</title>
    <meta http-equiv="content-Type" content="text/html;charset=utf-8"/>
    <script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" src="ajaxWindow.js"></script>
    <link type="text/css" rel="stylesheet" href="css/ajaxWindow.css"/>
</head>
<body>
    <a href="#" onclick="showWin()">显示窗口</a>
    <div id="win">
        <div id="title">
            <span id="txt">标题栏</span><span id="close" onclick="hide()">X</span>
        </div>    
        <div id="content">这是一个弹出窗口</div>
    </div>
</body>
</html>